package Demo16_30.Test19;

/**
 * Created by 14229 on 2020/1/21.
 */
public class Test {
    public static void main(String[] args) {

        BankCard bc = new BankCard();

        bc.setBalance(10000);
        try {
            bc.saveMoney(5000);
            bc.drawMoney(10000);
        } catch (BankException e) {
            e.printStackTrace();
        }
    }
}
